package park;

public class J13Ex46CalenderV1 {

	public static void main(String[] args) {
		
		int cyear = 2003;
		int what = ((cyear-1) * 365 + (cyear-1) /4 - (cyear-1) /100 + (cyear-1)/400)%7;
		System.out.println(cyear + "년 1월 1일의 요일은" + (what+1));

	}

}
